// ==UserScript==
// @name           true-friends Add style
// @description    Add a custom stylesheet to tf.org
// @author         whatevs
// @include        http://true-friends.org/*
// @include        http://*.true-friends.org/*
// @exclude        http://true-friends.org/profile/*
// @exclude        http://*.true-friends.org/profile/*
// @exclude        http://true-friends.org/blogs/*
// @exclude        http://*.true-friends.org/blogs/*
// @exclude        http://true-friends.org/group/*
// @exclude        http://*.true-friends.org/group/*
// @version        1.1
// @updateURL      https://tf-styles.googlecode.com/svn/trunk/global/true-friends-css.user.js
// ==/UserScript==

(function() {
	var css = "@import url('http://tf-styles.googlecode.com/svn/trunk/global/css/tf-custom.css');";
	if (typeof GM_addStyle != "undefined") {
		GM_addStyle(css);
	} else if (typeof PRO_addStyle != "undefined") {
		PRO_addStyle(css);
	} else if (typeof addStyle != "undefined") {
		addStyle(css);
	} else {
		var heads = document.getElementsByTagName("head");
		if (heads.length > 0) {
			var node = document.createElement("style");
			node.type = "text/css";
			node.appendChild(document.createTextNode(css));
			heads[0].appendChild(node); 
		}
	}
})();